package com.kuang.exam.modules.sys.lesson.dto.export;

import com.kuang.exam.core.utils.excel.annotation.ExcelField;
import com.kuang.exam.core.utils.excel.fieldtype.ListType;
import lombok.Data;

import java.util.List;

/**
 * 课程导出数据结构
 */
@Data
public class LessonExportDTO {

    private static final long serialVersionUID = 1L;

    private String id;

    @ExcelField(title="课程名称", align=2, sort=1)
    private String name;

    @ExcelField(title="课程类型", align=2, sort=2)
    private String lessonType;

    @ExcelField(title="课时", align=2, sort=3)
    private String lessonPeriod;

    @ExcelField(title="授课老师", align=2, sort=4, fieldType = ListType.class)
    private List<String> teachers;
}
